using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Product
/// </summary>
public class Product
{
    private string productID = "";

    public string ProductID
    {
        get { return productID; }
        set { productID = value; }
    }
    private string productName;

    public string ProductName
    {
        get { return productName; }
        set { productName = value; }
    }
    private decimal salePrice;

    public decimal SalePrice
    {
        get { return salePrice; }
        set { salePrice = value; }
    }
    private int quantity = 0;

    public int Quantity
    {
        get { return quantity; }
        set { quantity = value; }
    }
    private decimal discount;

    public decimal Discount
    {
        get { return discount; }
        set { discount = value; }
    }
    private readonly decimal amount;

    public decimal Amount
    {
        get { return (SalePrice*Quantity)-(SalePrice*Discount); }
    } 


	public Product()
	{
		//
		// TODO: Add constructor logic here
		//
	}
}
